package com.zycfc.zsf.boot.logback.consts;

public enum FileExeTypeEnum
{
    DETECT("F", "\u63a2\u6d4b\u5230\u6587\u4ef6"), 
    WRITE("W", "\u751f\u6210\u6587\u4ef6\uff0c\u4e0a\u4f20\u64cd\u4f5c\u5b8c\u6210"), 
    READ("R", "\u8bfb\u6587\u4ef6\uff0c\u8bfb\u64cd\u4f5c\u5b8c\u6210"), 
    READ_AND_WRITE("RW", "\u5148\u8bfb\u7136\u540e\u5728\u5199\uff0c\u6574\u4f53\u7ed3\u675f"), 
    DELETE("D", "\u5220\u9664\u6587\u4ef6");
    
    private final String code;
    private final String desc;
    
    private FileExeTypeEnum(final String code, final String desc) {
        this.code = code;
        this.desc = desc;
    }
    
    public String getCode() {
        return this.code;
    }
    
    public String getDesc() {
        return this.desc;
    }
}
